﻿using Ace.AutoMapper;
using Ace.Entity.Wiki;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Ace.Application.Wiki
{
    public class VideoOrderInputBase: ValidationModel
    {

        /// <summary>
        ///
        /// </summary>
        public string Fid { get; set; }


        /// <summary>
        ///
        /// </summary>
        public decimal Price { get; set; }


        /// <summary>
        ///
        /// </summary>
        public string UserID { get; set; }


        /// <summary>
        ///
        /// </summary>
        public DateTime CreateDate { get; set; }


        /// <summary>
        ///
        /// </summary>
        public string transaction_id { get; set; }


        /// <summary>
        ///
        /// </summary>
        public string out_refund_no { get; set; }


        /// <summary>
        ///
        /// </summary>
        public string out_refund_status { get; set; }


    }


    [MapToType(typeof(VideoOrder))]
    public class AddVideoOrderInput : VideoOrderInputBase
    { 
    }

    [MapToType(typeof(VideoOrder))]
    public class UpdateVideoOrderInput : VideoOrderInputBase
    {
        [RequiredAttribute(ErrorMessage = "{0}不能为空")]
        public string Id { get; set; }
    }
}
